import { $put } from '@js/request'

// 更新请求
export async function updateRequest (d: { [k: string]: any }): Promise<void> {
  const id: string = d.id
  delete d.id
  const res = await $put(`/api/commission/performance_score/${id}`, d)
  return res.data
}
